/*
 * This file can optionally generate configuration files.  The classic example
 * is when a project has both a integration and a production server.
 *
 * The configuration my be in a subdirectory of build_support (which is not copied into the configuration by default)
 * Depending on serverId, this script can copy the files to the outputDir and copy a shared.maven.filters with the parameters that
 * are needed depending on serverId.  More can be done but that is the classic example
 */
class GenerateConfig {
	/**
         * @param project The maven project.  you can get all information about
         * the project from this object
         * @param log a logger for logging info
         * @param ant an AntBuilder (see groovy docs) for executing ant tasks
         * @param basedirFile a File object that references the base directory
         * of the conf project
         * @param target the server property which is normally set by the build
         * profile.  It indicates the project that is being built
         * @param subTarget the "subTarget" that the project is being deployed
         * to. For example integration or production
         * @param targetDir a File object referencing the targetDir
         * @param buildSupportDir a File object referencing the build_support
         * dir of the target project
         * @param outputDir the directory to copy the generated configuration
         * files to
         */

  def generate(def project, def log, def ant, def basedirFile,
      def target, def subTarget, def targetDir,
      def buildSupportDir, def outputDir) {
    // nothing needs to be done for this project
  }
}
